package org.lhl.readruler

import com.google.gson.reflect.TypeToken
import io.reactivex.Observable
import org.lhl.readruler.utils.SharePreferencesDelegate

/**
 * Created by luohaolun.
 * Date: 2019/5/27
 */
object AppConfig {

    private inline fun <reified T> generalDelegate(def: T) = SharePreferencesDelegate(def, object : TypeToken<T>() {}.type)

    var isFilterDevice by generalDelegate(true)

}